package com.mycat.task.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.mycat.task.entity.ScheduleTaskExecuteDetail;

public interface ScheduleTaskExecuteDetailService {

    /**
     * 保存当前对象,并返回主键ID
     *
     * @param scheduleTaskExecuteDetail ScheduleTaskExecuteDetail
     */
    void save(ScheduleTaskExecuteDetail scheduleTaskExecuteDetail);

    /**
     * 修改当前对象
     *
     * @param scheduleTaskExecuteDetail ScheduleTaskExecuteDetail
     */
    void edit(ScheduleTaskExecuteDetail scheduleTaskExecuteDetail);

    /**
     * 根据主键Id删除数据
     *
     * @param ids 主键集合
     */
    void delete(Integer[] ids);

    /**
     * 根据Id获取当前对象
     *
     * @param id 主键ID
     * @return ScheduleTaskExecuteDetail
     */
    ScheduleTaskExecuteDetail findScheduleTaskExecuteDetail(Integer id);

    /**
     * 分页获取ScheduleTaskExecuteDetail列表
     *
     * @param page Page<ScheduleTaskExecuteDetail>
     * @return PageInfo<ScheduleTaskExecuteDetail>
     */
    PageInfo<ScheduleTaskExecuteDetail> page(Page<ScheduleTaskExecuteDetail> page);

}